var express = require('express');
var router = express.Router();
var db = require('../models/tick');
/* GET users listing. */
router.post('/', function(req, res, next) {
  db.add(req.param('name'),req.param('d'),function(err){
    res.send("?");
  });
});
router.get('/', function(req, res, next) {
  res.send({'as':'ff','hh':1});
});
module.exports = router;
